html {
  font-size: 10px;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E7EEF7;
}

button {
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

button:active, button:focus {
  outline: 0;
}

.list {
  width: auto;
  margin: auto;
  display: grid;
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  grid-template-columns: repeat(3, 1fr);
}

.list .item {
  text-align: center;
}

button {
  display: flex;
  height: 88px;
  width: 88px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  border: 0;
  color: #879fbe;
  background: transparent;
  position: relative;
  box-shadow: 8px 8px 24px #c1d3ea, -8px -8px 24px white, -2px -2px 2px white;
  transition: all 120ms ease-out 0s;
}

button:hover:before {
  background: rgba(255, 255, 255, 0.24);
}

button:before {
  content: '';
  position: absolute;
  border-radius: 24px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border: 2px solid transparent;
  filter: blur(2px);
  transition: all 120ms ease-out 0s;
}

button:after {
  content: '';
  position: absolute;
  border-radius: 24px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transition: all 120ms ease-out 0s;
}

button .button-icon {
  transition: all 120ms ease-out 0s;
  font-size: 25px;
}

button .button-txt {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: all 120ms ease-out 0s;
  font-weight: bold;
}

button.active {
  background: linear-gradient(to top, #d4e0f1, #fafcfd);
  box-shadow: inset 2px 2px 8px #87aad7, inset 8px 8px 16px #aec5e4, inset -4px -4px 8px white, 2px 2px 8px #9bb8de, -2px -2px 2px rgba(255, 255, 255, 0.7);
}

button.active:before {
  border-color: white;
  box-shadow: 0px 4px 16px white;
}

button.active:after {
  box-shadow: inset 0px 0px 16px white;
}

.text-red {
  color: #F56565;
}

.text-blue {
  color: #4299E1;
}

.text-green {
  color: #48BB78;
}

.text-orange {
  color: #ED8936;
}

.text-yellow {
  color: #D69E2E;
}

.text-teal {
  color: #38B2AC;
}

.text-indigo {
  color: #667EEA;
}

.text-purple {
  color: #9F7AEA;
}

.text-pink {
  color: #ED64A6;
}
